<?php
namespace app\index\controller;


use app\index\controller\FrontBase;
use think\Request;

class Post extends FrontBase
{
    public function index(Request $request)
    {
        $id = $request -> param('id');
        $this->param['id'] = $id;
        return view('',$this->param);
    }

    public function detail(Request $request){
        $id = $request -> param('id');
        $this->param['id'] = $id;

        return view('',$this->param);
    }

}